Skip to content

Conversation

@MatejNedic
Copy link

@MatejNedic MatejNedic commented Aug 6, 2025

Before writing docs sadly there is no yet support for S3 Vector Store meaning I can do mock tests only. Is that fine or to skip mock tests completly?

#3834

@MatejNedic MatejNedic changed the title S3 Vecto Store implementation. S3 Vector Store implementation Aug 6, 2025
@MatejNedic
Copy link
Author

Hey @ilayaperumalg , before I polish everything fully and write docs. For S3VectorStore class there is no LocalStack implementation yet. Meaning I cannot write integration tests. I can write mock tests tho. So just asking how would Spring team like for me to proceed?

All of the code is done just making it more readable and fixing some imports here and there.

@MatejNedic MatejNedic force-pushed the #3834-introduce-vector-store-support branch from 11e1dbc to 4834be4 Compare August 7, 2025 07:44
@MatejNedic MatejNedic force-pushed the #3834-introduce-vector-store-support branch from 4834be4 to 5a1cf4a Compare August 7, 2025 07:58
@MatejNedic MatejNedic marked this pull request as ready for review August 9, 2025 09:40
@MatejNedic
Copy link
Author

Hey @ilayaperumalg , is there any way I can help with getting this PR approved? I can provide mannual tests against real AWS and provide Spring Team with test findings or even take ownership on testing and reviewing future S3 Vector Store additions in this repo?

@ilayaperumalg ilayaperumalg added this to the 1.1.0.M3 milestone Sep 24, 2025
@ilayaperumalg
Copy link
Member

@MatejNedic Sorry about the delay in response. We'll try to get this reviewed soon.

@sobychacko
Copy link
Contributor

@MatejNedic Thanks for this implementation. We are starting the review on this PR. I have couple of questions. Are there any updates to the testing issues you mentioned? We really need to add some integration tests to verify the basic vector store behavior before we can merge the PR. Does S3 not yet support a testing environment? On that note, if it is only available in preview mode still, we might rather wait before we push this as a production feature in Spring AI. Anyways, could you let us know your latest findings on this topic?

Can you rebase your PR with the latest main branch? Also, can you fix all the checkstyle issues during the build?

Thanks!

@MatejNedic
Copy link
Author

Hi @sobychacko,

Thanks for starting the review and for the feedback.

Unfortunately, Localstack does not yet support S3 Vector Store, which makes end to end integration testing impossible without using a real AWS environment. I considered spinning up Localstack in TestContainers once support becomes available, but for now, that isn’t an option.

To ensure the behavior is verified, I can write full system tests against real AWS infrastructure and either demo the results during a meeting or record and share a short video walkthrough.

That said, if you're okay with it, I'd prefer to park this feature for a bit. I'm currently fully focused on finalizing Spring Cloud AWS 4.0.0-RCx, aiming to align the release with the upcoming Spring Cloud Release Train. Once I get through the bulk of that work, I’ll return to this PR, rebase it, fix the checkstyle issues, and include the system test showcase.

Let me know if this approach works for you or if you'd prefer I prioritize things differently.

Thanks again!

@sobychacko
Copy link
Contributor

@MatejNedic That sounds absolutely fine. We can park it here and please get back to it whenever you are ready. We can target this as a feature item for the 2.0.x release as we are getting closer to the RC for 1.1.0, so please take your time.

Thanks!

@sobychacko sobychacko modified the milestones: 1.1.0.M4, 2.0.0.M1 Oct 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants